package com.appbee.adminshell.client.gin;

import javax.inject.Inject;
import javax.inject.Provider;

import com.appbee.adminshell.shared.AdminRequestFactory;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;

public class AdminRequestFactoryProvider implements
		Provider<AdminRequestFactory>
{
	private AdminRequestFactory rf = GWT.create(AdminRequestFactory.class);
	@Inject
	public AdminRequestFactoryProvider(EventBus eventBus)
	{
		rf.initialize(eventBus);
	}
	
	@Override
	public AdminRequestFactory get()
	{
		return rf;
	}

}
